import { NavBar, Empty } from 'antd-mobile';
import { useNavigate } from 'react-router-dom';
export default function Error() {
    const navigate = useNavigate();
    return (
        <div>
            <NavBar className='page-header' onBack={() => navigate(-1)}>404</NavBar>
            <Empty imageStyle={{width:150}} description="页面不存在"/>
        </div>
    )
}
